#!/bin/bash
anynowtime="date +'%Y-%m-%d %H:%M:%S'"
NOW="echo [\`$anynowtime\`][PID:$$]"
count=0
while true 
do
    wget $1
    count=$((count + 1))
    echo "`eval $NOW` cout is $count"
    sleep 1	
done
